package com.jdrx.sw.sewage.service;

import com.jdrx.sw.sewage.beans.dto.IntelligenceConfDTO;
import com.jdrx.sw.sewage.beans.entity.IntelligenceConfPO;
import com.jdrx.sw.sewage.dao.IntelligenceConfDAO;
import com.jdrx.sw.sewage.service.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IntelligenceConfServiceImpl extends BaseServiceImpl {

    public static final Logger logger = LoggerFactory.getLogger(IntelligenceConfServiceImpl.class);
    @Autowired
    private IntelligenceConfDAO intelligenceConfDAO;

    public IntelligenceConfPO selectParameterConfigure(String confName, Integer confType) {
        return intelligenceConfDAO.selectParameterConfigure(confName, confType);
    }

    public void updateParameterConfigure(IntelligenceConfDTO dto) {
        intelligenceConfDAO.updateParameterConfigure(dto);
    }
}
